package com.coupon.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Manager {
    private Integer id;
    private String name;
    private String pwd;
    private String phone;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss",timezone = "GMT+8")
    private Date regTime;
    private boolean inUse;


    public Manager(){}
    public Manager(Integer id, String name, String pwd, String phone, Date regTime, boolean inUse) {
        this.id = id;
        this.name = name;
        this.pwd = pwd;
        this.phone = phone;
        this.regTime = regTime;
        this.inUse = inUse;
    }

    public Integer getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getPwd() {
        return pwd;
    }

    public String getPhone() {
        return phone;
    }

    public Date getRegTime() {
        return regTime;
    }

    public boolean isInUse() {
        return inUse;
    }


    public void setId(Integer id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setRegTime(Date regTime) {
        this.regTime = regTime;
    }

    public void setInUse(boolean inUse) {
        this.inUse = inUse;
    }
}
